package com.suncreate.zhtz.iot.model;

import java.util.ArrayList;
import java.util.List;

public class ScRealItemDataModel {
    private String itemKey;
    private String itemName;
    private Long collectionTime;
    private int status;//0正常，1告警，2离线
    private int itemAlarmLevel;//设备告警等级,0表示无告警，1轻微，2一般，3严重
    private String itemAlarmMessage;//设备告警信息
    private Long itemAlarmTime;//设备告警时间

    public Long getItemAlarmTime() {
        return itemAlarmTime;
    }

    public void setItemAlarmTime(Long itemAlarmTime) {
        this.itemAlarmTime = itemAlarmTime;
    }

    public int getItemAlarmLevel() {
        return itemAlarmLevel;
    }

    public void setItemAlarmLevel(int itemAlarmLevel) {
        this.itemAlarmLevel = itemAlarmLevel;
    }

    public String getItemAlarmMessage() {
        return itemAlarmMessage;
    }

    public void setItemAlarmMessage(String itemAlarmMessage) {
        this.itemAlarmMessage = itemAlarmMessage;
    }

    private List <FieldDataModel> fieldDataList=new ArrayList<FieldDataModel>();

    public String getItemKey() {
        return itemKey;
    }

    public void setItemKey(String itemKey) {
        this.itemKey = itemKey;
    }

    public String getItemName() {
        return itemName;
    }

    public void setItemName(String itemName) {
        this.itemName = itemName;
    }

    public Long getCollectionTime() {
        return collectionTime;
    }

    public void setCollectionTime(Long collectionTime) {
        this.collectionTime = collectionTime;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public List<FieldDataModel> getFieldDataList() {
        return fieldDataList;
    }

    public void setFieldDataList(List<FieldDataModel> fieldDataList) {
        this.fieldDataList = fieldDataList;
    }
}
